package cn.stylefeng.guns.modular.system.dao;

import cn.stylefeng.guns.modular.system.entity.CollectorsAssociation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CollectorsAssociationMapper extends BaseMapper<CollectorsAssociation> {
    List<CollectorsAssociation> findAssociation(@Param("joinStartTime") String joinStartTime,@Param("joinEndTime") String joinEndTime,
                                                @Param("province") String province, @Param("memberName")String memberName,
                                                @Param("contactAddress") String contactAddress,
                                                @Param("collectionRange") String collectionRange,
                                                @Param("renewalPaymentStartTime")String renewalPaymentStartTime,
                                                @Param("renewalPaymentEndTime") String renewalPaymentEndTime,
                                                @Param("mobileNumber")String mobileNumber,
                                                @Param("startAge") String startAge, @Param("endAge") String endAge,
                                                @Param("sex") String sex);

    int insertSelective(CollectorsAssociation ca);
}
